package com.example.Table;

import javax.persistence.Column;
import javax.persistence.Table;

@Table(name="question")
public class Question{
	@Column(name="id")
	private int id;
	@Column(name="question")
	private String question;
	@Column(name="variant_a")
	private String variant_a;
	@Column(name="variant_b")
	private String variant_b;
	@Column(name="variant_c")
	private String variant_c;
	@Column(name="variant_d")
	private String variant_d;
	@Column(name="answer")
	private String answer;
	@Column(name="viewed")
	private int viewed;
	
	public int getViewed() {
		return viewed;
	}
	public void setViewed(int viewed) {
		this.viewed = viewed;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getQuestion() {
		return question;
	}
	public void setQuestion(String question) {
		this.question = question;
	}
	public String getVariant_a() {
		return variant_a;
	}
	public void setVariant_a(String variant_a) {
		this.variant_a = variant_a;
	}
	public String getVariant_b() {
		return variant_b;
	}
	public void setVariant_b(String variant_b) {
		this.variant_b = variant_b;
	}
	public String getVariant_c() {
		return variant_c;
	}
	public void setVariant_c(String variant_c) {
		this.variant_c = variant_c;
	}
	public String getVariant_d() {
		return variant_d;
	}
	public void setVariant_d(String variant_d) {
		this.variant_d = variant_d;
	}
	public String getAnswer() {
		return answer;
	}
	public void setAnswer(String answer) {
		this.answer = answer;
	}
}
